import React from 'react';
import {Row, Col} from 'antd'
import Header from './components/Header'
import Footer from './components/Footer'
import Navleft from './components/Navleft'

import './style/common.less'
import Home from './pages/home/index'

class Admin extends React.Component{

  render(){
      return (
          <Row  className="container">
              <Col span={4} className="nav-left"  >
                  <Navleft></Navleft>
              </Col>
              <Col span={20} className="main">
                 <Header></Header>
                 <Row className="content"> 
                     {this.props.children}
                  </Row>
                 <Footer></Footer>
              </Col>
          </Row>
      )
  }
}


 export default  Admin